package net.pinnoocle.playdao.entity.shopPc.shop;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-11-25 14:04
 */
@Data
public class ShopChangePassParams {

    @ApiModelProperty("原登录密码(加密规则和登录时一样)")
    @NotNull(message = "原密码不能为空")
    private String oldPassWord;

    @ApiModelProperty("登录密码(sha-512加密，不带时间戳)")
    @NotNull(message = "新密码不能为空")
    private String passWord;

    @ApiModelProperty("确认密码(sha-512加密，不带时间戳)")
    @NotNull(message = "确认密码不能为空")
    private String confirmPassWord;

    @ApiModelProperty("当前时间戳")
    private Long timestamp;
}
